package com.dev.service.impl;

import com.dev.mapper.EmpMapper;
import com.dev.pojo.Emp;
import com.dev.service.IEmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/***
 * @author : fujc-dev@qq.com
 * @slogan : talk is cheap, show me the code. salute the future!
 */
@Service
public class EmpServiceImpl implements IEmpService {


    @Autowired
    EmpMapper empMapper;

    @Override
    public List<Emp> selectEmp() {
       return  empMapper.selectAll();
    }
}
